On my ESP8266EX the ussl.wrap_socket() works only one time, after a fresh startup. Then (after a MemoryError in a other code part) it result always in a reset.
Only when I do another manual reset does ussl.wrap_socket() work exactly once again.
Any idea?