use Dictionary<string, string> instead of Hashtable for headers

- better practice
- should be slightly faster