Support for BEP-0010 extension protocols

Perhaps this is of use to you.

I've still got a long way to adopt your coding style. How much do you insist on it?