validated that port is numeric fixes #201

@rcrichton this pull request makes sure that the port is always numeric please review