Moved over events to use new zsocket.