Provide `connect` and `bind` factory methods.

In addition to `build`, each `ZeroMQSocketFactory` now provides a `bind`
and `connect` factory method, that builds the socket and then either
connects or binds that socket to its configured `endpoints`.
Add bind() and connect() to interface.