In-house implementation of Netstring

Supports reading multiple netstrings from the same byte buffer, while
being completely stateless.

Also added a unit test to fully test the implementation. It is rock
solid!