Use correct assertions for SSL vs non SSL. Closes #120