temporary debug statements - figuring out how to pull headers from msg