regenerate protocol to add Capacity message

Signed-off-by: Momchil Atanasov <m.momchil@gmail.com>
implement Capacity in client and server

this must also be implemented by every backend

Signed-off-by: Momchil Atanasov <m.momchil@gmail.com>