This is to deal with connection maintenance. For instance, it could
be that a compression method fails to decode on the other end, and a
node will need to renegotiate which methods it is using. Hence the
name of the flag associated with it, “renegotiate”.

method – A function with two given arguments. Its signature
should be of the form handler(msg,handler),
where msg is a py2p.base.Message
object, and handler is a
py2p.base.BaseConnection object. It
should return True if it performed an action,
to reduce the number of handlers checked.