Added password callback support and version command.  Fixed memory leak.