Configurable list of hosts for presence checker
Properly shutdown socket
Mock presence server for testing