Added full header support for encodings, refs: geomoose/geomoose#37