test-socket-signal: add getopt_long support