refactoring of http requests in metadata client

Change-Id: I73b54e1bec99d8524b25159d7f4e4388abc77a37
don't add clusters/servers/buckets if they already exist

Change-Id: I3f56025c668a126e579b22c0457f11e8924ad34c