modify simple channel socket connection