- fixes the initialization of state and remaining fields in case size is zero (Long.equals(Integer) results always in false; replaced by simpler and faster code).
- uses #valueOf(String) to obtain an instance of a wrapper object from the given string; if possible #valueOf(String) would return a cached object.
- fixes small bug in #isIdentity()-method (String.equals(HttpString) returns always false; replaced by String.equals(HttpString.toString()))