Revert "fixed a bug which led to an unusable FrameHeader due to passing debug parameter into classmethod"
This reverts commit 11d7992aabc2e25d836952b88846d260372712ae