Also, I realize this is not exactly right, since the url itself could be longer, but it's what we're doing in PouchDB itself, and it's probably close enough.  The 2000 limit itself is not documented anywhere by any browser AFAIK.  And most of the time `keys` should be much shorter than 2000 anyway.