Only copy when pointer isn't NULL in get_friendcon_public_keys().
Fixed bug where group chat would see connection as offline when it was online.

Clarified something in the docs.