Add proxy support for phantomjs