Allow to specify http proxy per-request

I needed the ability to select a proxy on a per-request level, so I made these changes to the curl driver. This is probably a bit of an edge case use, but I suppose others could benefit from it.

No tests, since I have no idea how to actually test this.