Print message when expecting logon

In order to make debugging invalid session sequence numbers easier, print out
the whole message when receiving an unexpected message type from the other end.