reverse the mistaken modification of extent_protocol.h
merged with lab4 initial code