Add support for referer field in the header.