Added __iter__() to input ports. (Iterate through messages as they arrive.)