More debug info about connection
Fall back to fsockopen if stream_socket_client is disabled, fixes #243