QOFFEE-103 Check that `from`'s port is a valid port.