Add error checking to zmq_send and _recv calls
Remove unused context member variable