Some changes in preparation of https://github.com/rakudo/rakudo/pull/115

Set :input-line-separator instead of chomping and handle undef return from IO::Socket::INET.get