iOS > IOS
outsource ServerSockets to reduce code complexity