adding zsock_ready to compliment zsock_waiting
Merge pull request #666 from taotetek/master

Problem: we can easily check for POLLIN on a zsock but not POLLOUT