handle couchdb server address