API additions

Would be very useful to have API functionality to get/set a list of freinds or blocked users for each chat user. This in order to sync a website user management with the chat.

Alternatively a set of API calls to Friand/Block a user on the behalf of an existing one. For example:
addFriend(user_id, friend_id)
removeFriend(user_id, friend_id)
addBlock(user_id, blocked_user_id)
removeBlock(user_id, blocked_user_id)
getFriends(user_id)
getBlocked(user_id)