use channel to write responses to client
use of a channel to write ldap responses