Functions to sniff browser agent information