Clean up code and fix BoFs and memory leaks
Amr Ali
Branch: amrali/netstring-protocol:master
Branch: ibahnasy/netstring-protocol:master
Merged
Merged pull request
Merged in amrali/netstring-protocol (pull request #1: Clean up code and fix BoFs and memory leaks)
Added Makefile.
Rewrote netstring_encode() and cleaned up netstring_decode().
Added unit test for netstring_encode() and netstring_decode().
Fixed several buffer overflow bugs across the code base.
Fixed several memory leaks across the code base.