Sync with Nodeca Core.

- Fix reading of forwarded protocol.
- Add support of forwarded ip address.
- Rename hooks to conform "<subject>_<object>_<verb>" scheme.
- Renumber server_chain hooks order.
- Move cookies hook to responder channel.