Fixed bug with detecting open stream and closing it. Fixed bug with matching root using .on("/");
Merge branch 'master' of https://github.com/electricimp/reference