Support escaped CR and CRLF in strings

Support escaped CR and CRLF in strings.
Add new peek method to facilitate look-aheads.