Socket fix

Return undefined from IO::Socket::INET.get on reaching end-of-stream and actually loop in IO::Socket::INET.lines

Also makes sure that overlong lines won't be split.