Added signal bindings for FFI. Added SIG_IGN handler to SIGPIPE.