initial work on guessing the client device type

Based on traces, we've seen 310 and 405 so far.