Moved parsing of 'host:port' to the constructor (#4165).