Builds a ConnectionSpecification from user input