Simple multi-thread server socket implemented in Java