Updated server to use UDP instead of TCP