Core pr 5

Coding style and add support for extra parameters to CURL to support proxies.
:ok_hand: