Added input/output stream to the ServerThread class.