Added tracing for input messages in InputChannel. Refactored server targets check.