Refactor (+ better Server.respond)