Fix for Issue #4

Because we didn't have any validation checks on the url, api key and secret key, the errors that it returned were very cryptic. Hopefully this will help the "end user/devop" to troubleshoot the error a little better.