New server method for starting both client and server