Changed MessageHandler to use PrintWriter and BufferedReader (for the
moment,at least)