Proxy support

Updated to support proxy settings.

Also included yardoc markup in the code and bumped nokogiri to 1.6.0.