transport_read: ensure stream buf size >= pdu size

Without this check a simple nc < /dev/urandom server:3389 could
kill the server instantly.