Allow insecure SSL

This pull request add's the ability to use insecure ssl connections.