Headers integration

This branch pulls in the great work of @jonahoffline to get Header / Cookie support :heart: in along with some refactoring I did while merging it in. Pushing this as a PR to confirm the build passes before landing it in master.