Version 1.1.1: Use IO.select to improve speed of Ruby implementation