several trivial fixes

- [mac] fix build under osx 10.10

> NSApp is no longer global shared instance now

- limit ssl debug information output

> no more unwanted debug output!

-[mac] suppress compiler warnings under osx

> eliminate one more annoying ``deprecated`` warning, cheers!