Minor bugfixes (closing correctly the input streams) - Android dogwatch can crash on these
Merge branch 'master' of https://github.com/cegerard/appsGate-server