Added heartbeat timeout to Server.
Implemented SphTP message header.
Added heartbeat sending to Server.