Minor changes to TCPMidiClient init function and top level comments
Detect note ON/OFF correctly, and added pedal detection in get_msg_type().
Confirmed sending pedal commands work.
Next step: try to optimize at keyboard listen, not keyboard send.