Reducing buffer copies and adding ThreadLocals for SimpleDateFormat and
MessageDigest.