Gets the server's options.
Gets the server's event loop. It should be used to run the server.
Gets the server's router.
Gets the server's default port.
Binds the server to the given address.
Calls eventLoop.loop until the given condition is true.
Calls eventLoop.loop in an infinite loop.