Update ServerHandler.java

Changing the order in which ObjectOutputStream and ObjectInputStream are created, so output stream is created first