add check for allowed hosts in datareceived