DISPATCH-2189: fix 100-Continue bug, add curl tests

This closes #1281
5 files changed