Cleaned-up and fixed zsock_ready/waiting code

- proper indentation and hyphens for header
- zsock_ready() was testing ZMQ_POLLIN