The function returns an integer; the toal number of bytes received in all headers during the transfer.