sockpuppet: added error message when a socket fails to open