[cvs-nhc98] patch applied (yhc): Added URI splitter (orig. by Steven Levithan, MIT license), fixed XMLHTTPREQUEST code so send() works correctly with strings