Changed MessageInputStream and MessageOutputStream to inherit from DataInputStream and DataOutputStream, respectively.
I also change the ClientHandler constructor, to reduce the instantiation of resource-intensive MessageRegistry creation.
With the new constructors, MessageRegistry may need some attention as it's highly possible for the registry to be queried by multiple threads at the same time.