Simple code that opens a websocket and sends mysql results to a client.