Added unit tests for network reader
Updated server example for new json specification and fixed bug with header not properly being added