Added a BadHeader exception