Fix outer enclosing json. Add date option.
Cut-n-paste Ben's code. Fix bugs re args. Sandardize on 1-based for time and servers. Keep incrementing time for subsequent clients -- I don't see the point in overwriting data.
Issue: 1818 This is meant to replace the urlgen shell script.