Adds getfd method to support socket.select
Merge pull request #14 from aheck/master

Adds getfd method to support socket.select