pass jsgi instead of host and port in order for ssl options to be possible