18. The electronic device of claim 16 , wherein the processor is configured to: send, via the network interface, an echo request with an exchange identifier; and receive, via the network interface, an echo response with the exchange identifier, wherein the exchange identifier indicates that the echo response corresponds to the echo request.
16. An electronic device, comprising: a network interface; memory; and a processor configured to: receive, via the network interface, an enable connection monitor request that is configured to enable a liveness monitor on a Transmission Control Protocol (TCP) or User Datagram Protocol (UDP) connection monitoring between the electronic device and a remote device, wherein the enable connection monitor request comprises: a connection monitor timeout field that indicates how long a connection monitor can remain idle before the connection monitor is terminated; and a connection monitor interval field that indicates how frequently an update is sent to the remote device; and send, via the network interface, a status report indicating whether the connection monitor has successfully been enabled.