added uri support for npp, added uri tests and fixed uri parsing for tcp