Added sending port name argument to input handlers, so that persistent ports can be used with services that require them.