User-agent parser and browscap implementation.