Log error on socket open failure. Add check for session before
attempting to dereference it in opensocket() in http_curl.cc.
Closes-Bug: #1360214

Change-Id: I42327f1810d43872029a63677e4cde4b9ed9c916
Merge "Log error on socket open failure. Add check for session before attempting to dereference it in opensocket() in http_curl.cc. Closes-Bug: #1360214" into R1.10