add referer header if token request has referer value
Update to v2.2.1. Added referer header if appending token to requests