class IO::Endpoint::ConnectedEndpoint

def local_address_endpoint(**options)

@returns [AddressEndpoint] A endpoint for the local end of the connected socket.
A endpoint for the local end of the bound socket.
def local_address_endpoint(**options)
	AddressEndpoint.new(socket.to_io.local_address, **options)
end