use u64 for cookie value
add basic frame error rate and send-time computations

This isn't working yet but has the basic requirements in place.