Stylistic changes.
Fix old protocol client_code segfault.

Also reverted opaqueness of ConnectionInfo and restored direct access to
it for the relevant client_code. I expect that at least for libcfnet
internal usage I don't have to deal abstraction layers.