wificlient read(buf, len) broken, and getAvailTcpDataByte fix

The read(buf,len) was not sending the max bytes to the wifi firmware
and the wifi firmware was not returning the proper unread data bytes
from the sock buffers.