Right now if SSL fails the error generated is "API not found" which is misleading.
We should warn about unsecure SSL and also there is an interesting bug relelated to the new API discovery?
If the token is invalid it will throw also "API not found" instead of saying that the token is invalid.