Added ws_connbuf type

`self->data + amount > self->size` would be more intuitive and it would also be safer regarding signedness.