Pr/sockets

- Abstract out nb- send/recv for various fields in progress engine (cleanup)
- Set max-inject/msg-size properly if user inputs 0
- Remove unnamed unions/structures for C99 compatibility