Speed up processing by reducing calls to tshark

functions send_logs_to_escrow and buyer_get_sslhashes() plus some cleanup and minor alterations.