got host detection working, needs cleencoding