Handle /CAP LIST output

Closes #635