renamed baseChannel to baseSocket