Go Websocket and TCP Socket interface and implementation