I need to query a web server via http POST or GET and retrieve the result to a string in my program for parsing. It needs to be lightweight and compatible with at least windows and linux. I have already implemented a basic TCP socket interface in my program so i'm hoping it can build on that.

Any ideas?