allow automatic agent setting from HTTP headers