copied cpp client code from boost library - need to fix it to get it working as client for our server at least for create user and upload image