Refactored & merged a bunch of different patches from forks across github (@romanbsd, @johnmckerrell, @leolobato):
- converted to ARC
- made API key & secret into properties
- switched to HTTPS (no option for HTTP, there's no good reason for using it)
- properly URL encode all keys and values
- pass pointer to NSError*