Try to parse the user agent for mobile