socket: Add guard around select_with_timeout in SSL mode
socket: Add guard around select_with_timeout in SSL mode

Allows SSL streaming tests to pass. Without this, we wait even though
we already have some data to return.

excon/excon