Sample networking code using Cocoa/Cocoa-Touch and third-party frameworks