Escape characters in the header.

STOMP mandates that colons, backslashes and newlines are escaped in the
header. This commit does that and will parse them back correctly