Fix bug due to parse_url with php under 5.4.7 with schema less url