Lots of http-header related updates.

Fixes #13.