compatibility changes

http->https redirects and servers that insist on SSLv3 will work with these changes.