Adding keepalive documentation.

Hey,

I haven't checked to see how this looks (OS X yakshaving), but thought I'd save someone else some code diving for this stuff.