Bug 980541 - Poll socket with timeout

Deal with 0 bytes returned

Bump version to 0.2.0