#380 Checking return from receiveBytes for error

Fix for https://github.com/pocoproject/poco/issues/380

Checking if receiveBytes return is > 0 (not an error code)