This took MUCH LONGER than I expected... #nostrDev ... wrote a utility library for anyone building #Nostr apps with #websocket capabilities...
I had 2+ services I was writing which each had their own issues around sockets... so i wrote a lib ... and FINALLY got it working as a set. Give it a look ... hopefully those on the #startupGrind find it useful too.