Websockets part 2

Split off multiple helper functions.  Send and receive messages via
socket.  +1 Tile and Verify Board now through socket.