add support for custom headers

This adds support for passing custom headers through to PhantomJS