interactive-matter/aJson — pull request #44 by pasky (2013-05-30 15:39:48+00:00)
Title: Fix aJsonClientStream to work with WiFiClient too

EthernetClient will stay connected() as long as data is available(),
but WiFiClient() can switch to !connected() while there are still data
unread in its buffer and therefore available(). Therefore, let's check
for available() when reading data rather than connected().