URL parsing functions and minor fixes + enhancements

Hi Ronnie, here is my proposal for the URL parsing addition to libnfs. Happy Holidays, Peter