Overriding SSL version to TLSv1 as suggested by @t-8ch from stackoverflow