Refactored ll_socket.js
Merge branch 'feature/hsm' of https://github.com/txemagon/lluvia-Project into feature/hsm