Further conversion of Cache Server to Sockets