injectJS: set the uri of the injected script in order to have errors indicating the right file
Improvement on webserver response: support of binary data and new methods

Some undocumented methods of the phantom implementation of webserver
were not implemented: closeGracefully(), setHeader(), header(), setEncoding()

The write() method should also support the given classic encoding,
and 'binary' encoding.