TCP/JSON Protocol definitions moved to its own file under net namespace
Necessary modifications to the test made #25