Updated gem files.
Imported socket.rb from 1.8.
Bumped version to 1.0.0.