Update protocol.cpp

added backoff and calculated send attempt interval