websocket: add an option to specify Read/Write buffers

Related with #12