Can you give a bit more information on the type of interaction that you desire to have with the WAN hardware? Right now, there is not much exposed, knowing what you'd like to do may help us to shape what type of features we can make available however. Our current working assumption is that it makes the most sense for us to attempt to provide and manage the WAN functionality separately from the customization capabilities of Python.
SSL is something that will be enabled in the next release of the X4 firmware which should be released very soon. It is a fairly simple implementation that provides encryption, but does not perform authentication. Essentially, it will be providing the socket.ssl() call in the socket library, but not supporting the optional certificate parameters. With that, it is then possible to use the HTTPSServer module from the standard library to do secure HTTP connections, or other SSL operations.