Added accessors for the amount of raw data read and written by readers and writers - this fixes a fixme in MessageParserImpl.