find escape character in transport layer