Fixed file download for TLS 1.1 and TLS 1.2 #136