Reverse-engineering the UniFi inform protocol