Added optional session header support