added support for parsing custom headers and updating known types from that