Moved shared code from the server to the common library.
Moved the version message handler to the common library.
Moved the Null message handler to the common library.
Moved some text resources to the common library.
Implemented the heartbeat message handler and the heartbeat support.