Fix for srun support commit.
1. Change some asserts to JASSERS
2. Fix abstract unix sockets.