Refactor connection argument parsing
Accept a connection URI