I cant figure out, how to get a content from webpage, because when I open it with sockets, all it gets is this:
Moved Permanently
The document has moved here.
Apache/2.2.11 (Debian) Server at ** Port 80

Could someone help me with this here? I think it has something to do with redirects.