PiNet API update

Xbox and PiNet code changes to accommodate for the API changes in PiNet.