Throw if a.protocol unsupported, fix comment
Merge pull request #909 from JordanMilne/master

Throw if a.protocol unsupported, fix comment