Added ws_connbuf type

Please check whether `amount > data`.