Have you tried just writing the username and a CRLF to the socket? There's a pretty good chance that will work, though I don't have a telnet server around to test with.
That said, everybody's right you should just figure out how to install a module in your home directory.