    # File lib/mongrel/http_request.rb, line 101
        def read_socket(len)
          if !@socket.closed?
            data = @socket.read(len)
            if !data
              raise "Socket read return nil"
            elsif data.length != len
              raise "Socket read returned insufficient data: #{data.length}"
            else
              data
            end
          else
            raise "Socket already closed when reading."
          end
        end