'Starts the HTTP API with the listen port as specified in the session configuration.'

def start(self):

    self.root_endpoint = RootEndpoint(self.session)
    site = server.Site(resource=self.root_endpoint)
    site.requestFactory = RESTRequest
    self.site = reactor.listenTCP(self.session.config.get_http_api_port(), site, interface='127.0.0.1')
