Check validity of SSL connection in AMDServiceConnectionCreate before returning AMConnectionRef
Make sure SSL error queue is cleared before using SSL functions and checking for errors (see http://stackoverflow.com/questions/18179128 and https://www.arangodb.com/2014/07/08)
Merge pull request #64 from JeremyAgost/check-ssl-conn

SSL connection stability