https://medium.com/@ahanshankar/creating-a-websocket-server-using-only-the-rfc-doc-part-2-receiving-messages-84d0781ba6cd