Added the option to add request headers... not very proud of the code to be honest, but it is still a progress...