Thrift service used for querying friendships and user's relationships