code: def connect(server_url, request)
        #sputs "#{server_url} #{request}"
        result = nil
        Net::HTTP.start(server_url, self.port) {|http|
          req = Net::HTTP::Get.new("#{request}")
          response = http.request(req)
          case response
          when Net::HTTPSuccess, Net::HTTPRedirection
            result = response.body
          else
            raise HTTPError.new("Couldn't read data. HTTP status: #{response}")
          end
        }
        return result
      end
docs: Initializes connection
   * +base_url+ should not start with 'www'
   * +port+ integer value of port for CloudMade portal, if nil then default 80 port is used
   * +api_key+ your API key to connect to CloudMade services
   Make a HTTP connection and send a request. Called by the cloudmade 'Client' object internally