Fixes #5 - reinstate max read length on socket recv call