Fix socket.rb.

Signed-off-by: Alex Brem <alex@fluktuation.net>