SD: server and client work as intended. Need now to add the RKM functionality