Make SASL authentication aware of stream errors
SASL authentication is currently unware of stream errors. That means if a stream errors is send by the server, then SASL authentication runs into a timeout instead of reporting the error.
For example when debugging, one may break just before or somewhere within the SASL authentication. This causes some server implementations to return a stream error connection-timeout because the connection was to long idle pre-auth.