What is the difference between connection and read timeout for sockets? What is the difference between connection and read timeout for sockets? java java