Remove hard coded ecdsaWithSHA1 hack in ssl routines and check for RSA