Add basic SSL test against fake server

closes #730