spray/spray — pull request #432 by 2beaucoup (2013-08-09 15:09:52+00:00)
Title: Proxy Support, fixes #102

I took a shot at implementing proxy support as suggested by @jrudolph.

- I patched ```HttpHostConnectionSlot``` to take an optional proxy parameter.
- The new ProxySettings can be read from system props or configured directly.
- The logic for if/which proxy settings are used is implemented in the ```HttpHostConnector```.

Again suggestions on how to test this are appreciated...

Overalll this still feels a bit hacky. Maybe some kind of ```ProxiedHttpHostConnection``` as a simple wrapper araound ```HttpHostConnection``` that connects to the proxy would be more elegant.

Only plain HTTP is supported ATM.