Workaround for odd recv()'s being done when not requested.

* For some unknown reason (for now), libevent will do a second recv() when data
  is available on a socket. This recv call will return 0, which triggers
  libevent to execute the event callback with the flags 'BEV_EVENT_EOF | BEV_EVENT_READING)'
  To work around this temporarily until the real problem is found (why we have
  double reads)

* Also added paused = 0 when resume() is called.
cleanup