Avoid some unnecessary byte[] -> String conversions in RackEnvironment