removed trailing spaces
patch my_ws_handler with upstream version for batched encodings