CONTRIB-4717: Adding alternative for 2.6 browser sniffing