Reduced complexity by removing setPayload() and isValid().
Improving the test of invalid signature testing.
Fixing the bug that http_build_query() didn't use '&' as argument separator. Also fixed a bug in the tests where the wrong encoding (RFC1738 instead of RFC3986) was used for decoding a string to properties.
Merge branch 'reducingComplexity'