fix logging on connection pool purge
fix AttributeError when gevent is not installed, close #19
fix exception on bad response line