Fixup WiFi library for all platoforms

- Connect now returns 0 even if there is data available.
  This is the same behaviour as the Arduino library.
- Add fast re-connect feature. If the WiFi connection goes
  down then it now automatically reconnects.
- begin now returns status immediately on successive calls.