ws_gateway startup