Reject long URIs

Implemented suggestions from Dimitris and Jona in #42
Merge pull request #43 from ninniuz/29_long_prop_2

Reject long URIs