Setting and clearing HTTP headers, implements issue #18.