cleaned up _call_api and removed SSLv3-only handler