separated the channel socket and http servers