Cast default connection port to int.

Also use lower name for default connection class