added addHeader to optionally add headers for the request

This would be useful to add custom headers to request. It seems some services need this for auth purposes.