add --ssl as an option
add debugging
not sure why we use METAVAR, but fix it for password