Appendix B of RFC7252 contains some test vectors for URI encoding, which contain some of the pathological but legal cases. After the current work on making the requested URI available to the server is done, those should be added to the test suite.