Fixes for RAW and PASV/PORT commands

Ok here goes, elsif checks if $port is an array reference. It was incorrect to assume $port is always an array, thanks for the suggestion!