Add URL parameter to onHeaderCheck()

Change-Id: Ib1fe613237f38a22074f0f9e9aadb8ed7a76f0f9