Example of taking a TCP socket, upgrading (through HTTP) to a websocket connection and sending/receiving data.