feat(protocol): client capability enumeration (#765)