Catch extended messages

Implements this
http://www.bittorrent.org/beps/bep_0010.html