Do not set headers with None value

- Regardless of whether they are on the session or not
- Fixes #1920
Merge pull request #1921 from sigmavirus24/fix-session-header-none

Do not set headers with None value