class Async::HTTP::Endpoint

def localhost?

def localhost?
	@url.hostname =~ /^(.*?\.)?localhost\.?$/
end