Added simulator features (packet loss, random delays).