Parse url according to rfc 1738: add separate define for TLD.
Fix DOMAIN and TLD per rfc 1738, thanks Arnavion
Prev called anything a URL!  Reverted but slight DOMAIN change.
Oops. didn't get the DOMAIN slight change last time.  Here it is now.
Merge branch 'master' into pull350
Remove #include <malloc.h>, causes a #error in freebsd build