Updated protocol doctests. Made parsed raw headers mutable.