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).

Signed-off-by: Sven Strickroth <email@cs-ware.de>