Added default curl timeouts.
Whitespace fixes and POST ability.