replace host and port in mongoc if using ssh tunneling