Actually reply to pings
Fix reversed order in tx inputs and outputs
Rename include files to .hrl