Fleshing out generalized accept model

Generalizing addresses used for connections to be zeromq-like,
supporting multiple types by schema.
Fixed some memory leaks.