refactor(socket) rm stderr.code