Fix HEADER_VALUE_WITH_PARAMS regex and added a test case for this regex.

This PR fixes #676.