Adapt elasticsearch plugin to the Core changes.
Renaming protocol specification file.
Drop unnecessary source definitions in CMakeLists.txt