ssl and remote host are now configurable.