Integrate WearScript websocket connection.

Endpoint can be set in source or as environment variable
WEARSCRIPT_ENDPOINT.