Support https redirection
Merge pull request #1 from naoya/fix/https

Support https redirection