Backwards compat for auth in the config array of HttpSocket::request()
Brings functionality back in line with docs as well
Merge pull request #1203 from cincodenada/patch_httpsocket

Add a bit of backwards compatibility for specifying auth in the config.

Restore compatibility with older versions when providing auth data in the
request data.