Fix Bug in Client_socket

I messed up the detection of uncompleted
lines.
I checked the back of the buffer vector,
which isn't necessarily filled. Instead,
I now create a string, using the vector
and do the checks on that.