Available on macro
new()
get_peer_cert():Null<X509Crt>
handshake():Int
read(buf:Bytes, pos:Int, len:Int):Int
set_hostname(hostname:String):Int
setup(conf:Config):Int
write(buf:Bytes, pos:Int, len:Int):Int