Added support for client-to-host communication.