runtime: Use PortId instead of char in Connection