}
});
@Override
public void writeTo(final WritableByteChannel out) throws IOException {
final OutputStream headerFlushingOutputStream = new FirstByteActionOutputStream(
Channels.newOutputStream(out), new Runnable() {
// this is executed when the first character is written to
// the stream
@Override