Added onHeaders handler to listener, fixed hash endianness in CoinBlockHeader::toString methods.