A few WiFi questions.

The web client example should be illustrative enough to show you how any client can be implemented. There are other examples in the appropriate directory in the library distribution. Probably SimpleClient is better suited for your needs.