Messenger: New function to check & handle timed-out friend requests
Messenger: Fix compile issue with check_friend_request_timed_out
Merge pull request #671 from palistov/do-friends-cleanup

Clean up do_friends function