Parse a connection URI to a keyword string