Add optional UdpSocket for storage interface. Add new_localhost_replicator to create a new replicator local node.