send proper replies for cap protocol