Added APIs to set and get Wi-Fi Sharing flag.