Java and network technologies 8 task