Read from socket streams better