Updated tests. MessageStreamTest takes into account MessageStream
interface change by Thai, NonblockingReceiverTest uses fake handshake
unsolicited message to simulate protocol 3.0.0 behavior.