Allow a curler job to define custom headers

yeah, I kept having to manually kill the webserver and curler server whenever I caused an error so it prompted me to improve this :D