regex based operating system detection for Varnish