ssl.wrap_socket doesn't works in asynchronous mode.
It is not possible to use ssl.wrap_socket on non-blocking (asynchronous) sockets.
At worst, it could block, otherwise it would be necessary to have the do_handshake() function on SSL sockets but instead, ssl.wrap_socket causes a core dump...
Thanks for the report. Ill raise this with the firmware team and see what they say.