I am not sure if you can route everything to use your drivers. But I curious to find out. Our internal drivers, like WINC1500 and ENC28 has internal native hooks to work the the internal TCP/IP and TLS stack. Your ESP drivers uses its own stack and its own security. I am certain you can make something work but this is not going to be secure.
Please see this How Secure is Your IoT Device?