how can i retrieve information from a website using sockets?