add java socket homework