Attempt to patch ssl wrapper to tlsv1.2 for every ssl-related call. Hopefully this works around travis/ubuntu related issues.