Outbound logging and hook improvements

- Adds `secured` flag to hook_delivered
- Adds missing parameters from documentation
- Adds TLS=Y/N to the outbound logging on delivery
- Fix #691
- Fix double-spaces in SpamAssassin headers