A simple java based server based on socket