Code for bkclient devices use to connect to becloud.net