More general binding

I've wrote a more generic binding from your code base, with a more recent version of RubyWhois, here is the result.