Split prologue of ADS-3 into ADS-4 (new spec for the actual implementation of the master server), add some commands to ADS-3.
Add OpenSSL requirement.
Remove redundant NULL checks. Patch by Ragnor.
Remove redundant type casts. Patch by Ragnor.
Avoid casting function pointers. Patch by Ragnor.
Whitespace changes.
Add missing braces. Patch by Ragnor.
Fix mismatches in malloc types. Patch by Ragnor.
Add missing brace.
Sync toolkit.
Update prototypes.
Rename function to avoid conflict with new API.