fix bugs:1.domain validate long than 253; 2. invalid uri end with '/.';
3.domain query use A-label,not use A and U label