Reworked logging - added timestamp and hex dump of transferred data.