For now use custom long_to_bytes/bytes_to_long (to provide compatibility
with 6.4 TunnelCommunity)