transport_read: ensure stream buf size >= pdu size

Without this check a simple nc < /dev/urandom server:3389 could
kill the server instantly.
Merge pull request #1954 from nfedera/fix-2014-07-10-01

transport_read: ensure stream buf size >= pdu size