refactor
refactor
add a read deadline to avoid getting hung while waiting for data
no need to maintain the remote address separately
make the sample more resilient
refactor
add .editorconfig