JavaWebSocket
constructor(port: Int = 8000, hostName: String = "0.0.0.0", drafts: List<Draft>? = null, stopMode: ServerConfig.StopMode = ServerConfig.StopMode.Immediate, addShutdownHook: Boolean = true, startupTimeout: Duration = Duration.ofSeconds(5), configFn: WebSocketServer.() -> Unit = {
isReuseAddr = true // Set SO_REUSEADDR by default
})