Add max-keys header option. Refs #18