SSL Fixes

Make ssl work again:
- since current_host_and_port are not set when attempt_connection calls
  get_ssl, pass the host_and_port parameter instead of using the
  default behavior of get_ssl
- don't shadow the ssl module with a local variable