[Reviewer: Ellie] Fix bug in HTTPConnection - race condition between zmq_poll and cw_reset...

..._time

Fixes https://github.com/Metaswitch/sprout/issues/483. I've described the problem in that issue.