fix memory leak (BN_clear doesn't release allocated memory)
improve portability by removing rdtsc calls
https://github.com/vysheng/tg/issues/8
fix sending a lot of spaces in version string
checks strndup result & enhance configure.ac
When using void pointers in calculations, the behaviour is undefined. Arithmetic operations on 'void *' is a GNU C extension, which defines the 'sizeof(void)' to be 1.
Technounit-GROUP 2023