Hey Patrick.
So this plugin is way cool… I have the basics working and will soon convert a couple of obsolete plugins that I’ve hacked to death anyway… However, I do have a couple of requests:
The readme.md under openLuup install should mention that you install the sockproxyd luup device in the standard openLuup way (which is slightly different from a Vera install). I originally assumed that, for openLuup, the luup device would be created when running the startup lua file.
The lua file for the luup device itself has the basic startup linux commands embedded in the lua code. Could you condition running this code on whether one is in a Vera environment or an openLuup environment as I’m using systemd to start the proxy. Here is my service file if anyone wants to comment or improve “sockproxy.service” 
[Unit]
Description=SockProxy for Vera plugins
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
ExecStartPre=/bin/sleep 10
WorkingDirectory=/etc/cmh-ludl
ExecStart=lua5.1 /etc/cmh-ludl/sockproxyd.lua -L /etc/cmh-ludl/veralogs/sockproxy/sockproxyd.log
Restart=on-failure
RestartSec=10
StandardOutput=syslog
StandardError=syslog
[Install]
WantedBy=multi-user.target
The service file needs to be placed in /etc/systemd/system (set the appropriate properties for the file) then type at the command prompt “systemctl daemon-reload”, then “systemctl start sockproxy.service”. Finally, when you have things working, “systemctl enable sockproxy.service” which autostarts the proxy at boot.
This approach avoids the need to run a daemon and its attendant .sh scripts to start and stop the program. (systemctl start/stop sockproxy.service). This is why I was asking to condition the linux commands to vera vs openLuup environment as I imagine openwrt requires the linux approach you outline in the documentation.
If a plugin uses luup.io for reads and writes, do I need to change these commands to something else to make full use of the proxy?
Finally, (for now anyway!) in the device itself, in the control UI, could you place a hyperlink to the sockproxyd.log. I imagine you would create a variable to hold the log path that could be modified by the user, and then connect the hyperlink to the file path. This would be helpful in diagnosing connection issues.
Thx for this, and as I said, very cool.