changed header function to allow addition of custom headers
Merge branch 'scotthaleen-custom-http-headers'

Pull request #304