Core pr 5

Coding style and add support for extra parameters to CURL to support proxies.
In general this is such fundamentally poor OOP that I think this should have been fixed right away :\.