Parse port as integer