Java socket utilitiy framework for fesktops and Android based devices