fix for #2474 - respond 414 on very long url