Add support for authentication to proxies
Bump version to 0.4.0
Regenerate gemspec for version 0.4.0