Change Proxy API and Server API from sync to async.