Fixed wrong call to libwebsocket_write with param LWS_WRITE_TEXT in webs...

...erver.