Fix Cannot install with auth proxy.
Fix fail install with non-auth proxy.
Fix coding style error.
Merge pull request #177 from masakura/authproxy

Fix Cannot install with auth proxy.