We can assume if ssl is not NULL then we connected.

Otherwise we don't.

Signed-off-by: Thiago Farina <tfarina@chromium.org>