Problem: client_terminate is crashing when using server properties

The code destroyed the server (server_terminate) before destrying
the client hash, so client_terminate got a null when trying to use
any server property.

Solution: reverse the order of these destructors.
Problem: server destruction was still wrong
Merge pull request #112 from hintjens/master

Problem: client_terminate is crashing when using server properties