maybe_create_debugger needs to carry on even if rr isn't launching the debugger itself.
Add extra syscall result checking to open_socket and print more specific failure messages.

I saw a weird test failure where open_socket hit an EINVAL somewhere. This
will help narrow it down if it occurs again.