Implemented basic client-host communication.