Added ws_connbuf type

Why is this an `int` while the member in the struct is a `size_t`? Wouldn't it be sufficient to have a `size_t` here as well?