Basic user agent detector