add headers checker to thread/