lib.connection: add balance method
XBMC: use new balance method to parse the data