Updated read to recv
 - Changed public read command to recv and match sockets read
 - Improved receiving of packet, returning length and clearing flag if necessary
 - Removed packet_received flag clearing from available function
 - Straightened up some names
 - Removed getDynamicPayload size, just call recv and get length back