Added mg_websocket_write(), per morgan3d pull request