fixed deprecated ZQM_UPSTREAM (now ZMQ_PULL), fixed missing unistd.h header in cgi