Added tx time estimation. Bug on ASN1 memory leak still present...