Throw exception if either bind or connect fails.

Right now, feedback from calls to zmq_bind and zmq_connect is swallowed by the library. Without this feedback, it is very difficult to notice bind/connect problems in running applications.