Explicitly added headers have priority

(belongs to issue #51)