converting upnpc ports from string to ints