Make awaitReadable() work properly for SSL