Add proxy configuration for PhantomJS.

Push request for adding PhantomJS proxy support (as has been discussed in the mailing list).