starts http listening at config.api.port