type tls.Server events, add @:jsRequire to it