It looks like Python's Twisted already supports SSL. How difficult would it be to refactor to add this?