fixed a bug in referer module that regex rules might be invalid with https requests.