Implementation of alt cache in rdb_protocol/protocol.cc up to line 1500.
Pushed alt cache integration in rdb_protocol/protocol.cc down to line 1700.