Polished Socket.chs