Refactor NetworkService. Fix issue #57: Connection timeout not handled properly when uploading.
Merge branch 'master' of http://github.com/lilahagyma/iszom