code: def get_request(path)
        resp = nil
        begin
          Timeout::timeout(5) do
            resp = do_http_request(path)
          end
        rescue => e
          raise NetBooter::Error.new("Error connecting to relay: #{e.message}")
        end
        resp
      end
docs: Make an http request and return the result.