Add support for iterable headers.

Closes #663.

@swankjesse