Classes of amphp / socket