The relay is a socket server that all metris bases connect to in order to transmit data to the desired target.