fixed range for empty slice
Merge remote-tracking branch 'upstream/dev'
Merge branch 'dev' of https://github.com/mailru/FileAPI
Merge branch 'dev' of https://github.com/mailru/FileAPI
fixed abort handling
Merge pull request #84 from wingedfox/master

Fixed connection abort when waiting for connection recovery