initial approach
html java socket