put connection params into uri