Set packet timestamp immediately before sending it.