Worker: implement the rest API calls for signalling and presence
Worker: implement the long polling iteration