http: remove custom implementation of math.min/max to rely on JVM intrinsics
http: further relax parser for product/version values (Server and User-Agent headers)