[LWIP] Implement a LibTCPGetSocketStatus() function in our LwIP glue