fix(socket): alternate impl for #225, extend on read

- avoid BlockingIOError as name as it is not available in Python 2.7
- do the extended check also in read, not only in reset_input_buffer()
1 file changed