Added basic server functionality for testing with a dummy client.