Allow default port to be NULL

Allow default port to be NULL.

This might be useful for third party transports which rely on external tools where a different port can be specified optionally (e.g., only if the user intentionally requests a different port).
It doesn't matter, can change that.