Fixed base64Encoding deprecation, added the actual HTTP status code to connection failure NSError

Fixed base64Encoding deprecation, added the actual HTTP status code to connection failures with key ‘HTTPResponseStatusCode’ in the NSError userInfo dictionary on status codes of >= 400, gives you the ability to see why a connection fails such as a 401 authentication failure
ah i see, i'll get that added. on the base64 question: not really any reason at all, I'll switch it to the default