split server from client