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).
Why write `*port = default_port` instead of `*port = NULL` in this case? If what you're trying to do is set the variable to NULL, write that in the code.