Add support for pyuv 0.10.0

And refactor framed connection!