Buffering incomplete data

In some case, `net.Socket` will emit incomplete data and this caused problem while I used the module with `ActiveMQ`. It's a good idea to buffer the data and wait for the `\n`.