appending optional port info to JDBC connection URL