SigTerm handle & Message pipe

- SIGTERM handler added
- First attempt to add a message pipe to PHP