Adding telesocket support to telehash-js