Rewrite socketchannel, make it clear.