You can either use the socket module, which goes very low level and gives you a nicely integrated BSD sockets interface or go very high level and use our CURL integration, which is both very simple and extremely well integrated in the language (with callback and timeout controls, output redirection to variables or files, SSL support and so on).
This is the doc:
http://www.falconpl.org/project_docs/core/curl.htmlthere are also some example.