Client-side in-memory mongodb backed by localstorage with server sync over http