detectBrowser method
Detects the browser (using "user-agent") from which the given HTTP request was made.
req
an HTTP RequestContext request to process. Returns the detected browser. Detectable browsers: "chrome", "msie", "firefox", "safari". Otherwise - "unknown" will be returned.