several trivial fixes

- [mac] fix build under osx 10.10
- limit ssl debug information output