add actual modules for ssl and fix to work with https
not tested because replayshell hangs