added size header before message to ensure the whole packed is recieved
before sending (app->mod_websocket)