I made it!
The solution is ANet's TCP Server functionality combined with the websockify wrapper!!!