draft SOConnection and ApplyUpdates for RESTapi of Web2PY