Added a method that returns whether the server is currently listening