Add proxy configuration

Allow http proxy to be configured. Defaults to nil.

Pull request also contains a few updates to file linking and specs.