fix network problem

I try to get 0 bytes from socket
a lot fixes