Fix unit tests that may break under gevent
Fix v3 proto header reading w/ gevent, twisted reactors

Fixes PYTHON-87