p2p: fix decoding of disconnect reason (fixes #200)

Fixes #200. There will be a test in a later PR.