make HOST, WS_PORT, WSS_PORT configurable
fix JSON parsing when connecting to Slanger