Support for proxy-middleware options

In webserver's current implementation it isn't possible to configure proxy-middleware.
This pull request add support for an optional "options" argument on a proxy configuration.

Since webserver doesn't support middleware, I wasn't able to properly implement the test. Currently the test only proves that it doesn't break anything. 
Using another server I have verified that the proxy was properly configured.