Fixed bug in Protocol.RemoveHeader. Added Logger.Exception