A handler can reply with a buffer

Closes #527