include NULL terminator when copying default_domain to server_addr.domain
Parity with Arduino digitalWrite. Fixes gh-247

Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
Merge pull request #248 from rwaldron/247

Parity with Arduino digitalWrite. Fixes gh-247
Incorporated Network class into WiFi class #251
Spark.sleep(SLEEP_MODE_WLAN) updated - now calls WiFi.off()
Corrected WiFi.connect() and WiFi.disconnect() related functionality
Add friendly deprecation references to WiFi class
Merge pull request #254 from spark/feature/issue-251

Feature/issue 251
Merge pull request #237 from wtfuzz/master

include NULL terminator when copying default_domain to server_addr.domai...
Build products for v0.3.1
Updated code as per Docs PR #205 and also Spark.sleep() is immediate
Minor fix
Fix for SOS(HardFault Exception) while using local cloud
Avoid calling Clear_NetApp_Dhcp() everytime after WiFi.connect()
Bug fix - Check for active cloud socket in Spark.process() method
Merge pull request #259 from spark/feature/new-led-interactions

Updated RGB Led interactions for controlling the connection and various Bug Fixes
Latest build products
Leave Wi-Fi module off at boot in MANUAL or SEMI_AUTOMATIC modes
Fixes #269
Fix for #266.