Java implementation of ua-parser