Signed-off-by: Damien George <damien@micropython.org>
Also fix related problems with socket on esp32, improve docs for wrap_socket, and add more tests.