UNDERTOW-50 Add ability to set default cookie version
Optimize conversion of hex char to integer (use Character.digit(char, 16) instead of Integer.parseInt("" + char, 16), which creates a new String and StringBuilder every time)
Use StringBuilder.append(char[]) instead of append(char) in loop