Add meaningful error message to 0 bytes received on socket