Fix sendObject upload.

Two issues are resolved:
- sendObject changed to accept raw arguments instead of objectinfo,
  as calling getObjectInfo after sentObjectInfo is illegal,
- send buffer decreased to 16K, as this is the maximum size working
  per comments in other places.

Change-Id: If71644dcbc508dd92c3fe74a2fdb7c6798059b42
2 files changed