Ensure that the capabilities reponse operation is idempotent. Fixes gh-79

@monteslu can you confirm that this patch addresses your issue—thanks