enforce port as int (raw_input gives String = error)