Use default IP/port values in constructor

The values are updated only if there is an entry in the configuration file. This change is made in order to reduce redundant code and arbitrary default value.