Core pr 5

Coding style and add support for extra parameters to CURL to support proxies.
Sure but that does not change the fact that is a poor way of getting the configuration into an object.