simple impl of proxy server for piping data between websocket to tcp