Base WebSocket echo server

Working websocket server that handles requests from the page it serves