cliops: make long-form constructor function properly

This should duplicate the code of the short-form constructor
(yaycplusplus)

Change-Id: I9357ad4c246b9200d1172af9af47bb9c1761d786
Reviewed-on: http://review.couchbase.org/44130
Tested-by: Mark Nunberg <mnunberg@haskalah.org>
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>