1. Fix some compiler warnings
2. Add a option function to set the SSL password in program code. avoid request user input password in console.