Adding configurability of phantomjs request headers