updated typeahead to use proper host api from retsly instance
merged upstream