Add recbuf config option.

resolve #133 
Why not use `case` for comparing with `undefined`?