Updating the configuration to allow the user to choose which adapter to use (curl or socket). If proxy is set and the adapter is not curl, then we throw an error