Simple java net framework