Adding signal handler for purpose of deleting socket file.
Accepting same options as original recpt1 (for compatibility).
Assign '-' to output-file, write to stdout.
Assign '-' to duration, waiting time is infinite.
Handling '--device' option.