added proper parsing of http proxy url