Applies the code included in the ticket #4 for the 1k buffer issue
(https://github.com/willem4ever/mod_websocket_mosquitto/issues/4)
Merge pull request #6 from inventit/1k_patch

Applies the code included in the ticket #4 for the 1k buffer issue