Server and Client configuration. Server headless mode - stub (NEEDS FIX).