net: fix bufferSize include writableStream length

socket.bufferSize missed to include the length of internal buffers in
writableStream.