working on deploying more service gateways, so socket needs to be configurable