split server from sockets