introduced interface for zsocket, added stub