'port' linking enhancements

Ensure data flow direction matches port naming convention.
Ensure port is available for use when linking attempted.