multiple fixes and minor additions
* fixed json-c header inclusion for new upstream install location
* fixed server string building
* added json-c library to version checking