Update protocolSessionTest to use client with the new interface.