For now use custom long_to_bytes/bytes_to_long

For now use custom long_to_bytes/bytes_to_long to provide compatibility with 6.4 TunnelCommunity. Alternatively, we could break compatibility and change the TunnelCommunity id.