Do not set Referer by default when its value is None

closes #473