Implement "add member to space" API call in Java client library