Added limit on number of requests for headersMatch

Added the ability to only look at the first requests (focused mostly on looking at the first HTML response). 
Minor change, and full backward compatibility.