Bug 980541 - Poll socket with timeout

Deal with 0 bytes returned

Bump version to 0.2.0
Bug 980541 - Socket needs non blocking.