[WIP] initial code for parsing user agents