updated httpchannel to use new API for creating channels