CXX-369 call ismaster when SSL is enabled

I don't think this is going to work. If the server requires SSL, I think you need to execute 'secure' before you start running commands against it.

Instead, I think you should do something more like

```
bool worked = false;
if (SSL)
   worked = p->secure(...);

if(!worked)
   return worked;

// now do commands.
```