Fixes "Misused header name" bug in dynamic headers.

This fixes #43. 

It also fixes the equivalent bug with trying to remove a content header from the main headers collection.