Add run-as-server feature