Fixes reconnection problems in case of non-default PZH ports

In addition, removes unneeded "iot" port from the configuration.
This is already moved to the API implemenation.

Jira-issue: WP-1322
Merge pull request #86 from mlasak/WP-1322

Fixes reconnection problems in case of non-default PZH ports