Fix issue where receive byte buffer blew up when read was greater than limit