Socket working in ruby :zap: