Remove dead code.

Print() output in Lua console used to go to the socket,
now it always goes to the log, just like in the binary port.
Remove the dead code responsible for setting up the environment
of print() so that its output could be captured and sent to the
client.