Fix extension field hash initialization errors

Also, ignore value assignment on unknown fields. Fixes #71.