Implement closefrom() to prevent KQUEUE issues.
Merge pull request #2 from dizzyd/closefrom

Implement closefrom() to prevent KQUEUE issues.