Socket fix

Return undefined from IO::Socket::INET.get on reaching end-of-stream and actually loop in IO::Socket::INET.lines