Signal-related bugfixes
New URL source: Herdict
Handle EOF correctly in handle_signal_char.