Use new libchan interface

Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>