Forked mainly from socket.io-parser but adds support for chunking binary data