fix for #2474 - respond 414 on very long url
Merge pull request #2512 from jkyamog/master

fix for #2474 - respond 414 on very long url