Added some functions to friend_connection.
Group chats now actually work somewhat.