added ssl and socket-options config tests for client

It seems these changes belong to another commit in origin/master. I usually use rebase when updating my PRs but I don't know why Github shows other changes in web interface.