parse connection_url properly