This seems pretty neat but what advantage does this have compared to terminating SSL at nginx? I guess you still need to have something that nginx can hand the connections off to.
I previously worked on this project, and most of the devices we handle are not communicating over http. The goal is to manage long-lived TCP/IP connections.