Delayed Virtual Environments: a port-Hamiltonian Approach