Port the test to change the URL of network request.

https://github.com/ariya/phantomjs/issues/12439
Port the test to change the encoded URL of network request.

https://github.com/ariya/phantomjs/issues/12439
Port the test to check for plugin non-existence.

https://github.com/ariya/phantomjs/issues/12439