Update XHook with case insensitive HTTP header support

See title for changes. Please let me know if you’d like me to revert the whitespace fixes my editor added.