Pergunta de entrevista da empresa Vonage

How would you fetch a http resource in a browser, how would you implement it yourself? What OS calls would be needed?