add additional callbacks for client::send