Added new handlers.
Protected destructors.
Simulate server heartbeats.