Handle the case when "clientPort" is not present in the configuration file.

Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>