Add isValidUtf8 and isValidAscii methods to BufUtil to validate buffer contents without creating a copy of the content into a String