Problem: cannot use inproc transport when creating sockets.

Solution: allow zmq context as param when creating sockets.