Fixed an ArrayOutOfBoundsException in HeaderStore.
Merge pull request #22 from is-devteam/fix_header_store_out_of_bounds

Fixed an ArrayOutOfBoundsException in HeaderStore.