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