improve Headers.iter

This code is currently used in the servo branch, forgot to make a PR to master.
Should this really be String or should it be a more general type like `Vec<u8>`?