[BZ #1172419] Read port number as unsigned, always