Reworked for the new protocol
split out some functionality into seperate source files
Conninfo library created.  This library provides a standard set of tools and functions to parse and access the conninfo structure