code jshint compliant & more secured
remote adapter uses nodejs sockets