lsm_ipc.cpp: Limit the amount read from socket
lsm_ipc.cpp: Limit the amount read from socket

The protocol is to read a len header and they the json
payload.  Put in a limit to prevent a bogus header
length from causing the code to allocate to much
memory.

Signed-off-by: Tony Asleson <1ef2d381aa56d512126ddaacc29e68136e4fdf55@redhat.com>

tasleson/libstoragemgmt,jumitche/libstoragemgmt,cathay4t/libstoragemgmt,cathay4t/libstoragemgmt,lazy404/libstoragemgmt,libstorage/libstoragemgmt,HP-Scale-out-Storage/libstoragemgmt,lazy404/libstoragemgmt,HP-Scale-out-Storage/libstoragemgmt,joehandzik/libstoragemgmt,cathay4t/libstoragemgmt,HP-Scale-out-Storage/libstoragemgmt,tasleson/libstoragemgmt,HP-Scale-out-Storage/libstoragemgmt,cathay4t/libstoragemgmt,jumitche/libstoragemgmt,libstorage/libstoragemgmt,joehandzik/libstoragemgmt,joehandzik/libstoragemgmt,libstorage/libstoragemgmt,tasleson/libstoragemgmt,joehandzik/libstoragemgmt,tasleson/libstoragemgmt,lazy404/libstoragemgmt,libstorage/libstoragemgmt,jumitche/libstoragemgmt,tasleson/libstoragemgmt,jumitche/libstoragemgmt,lazy404/libstoragemgmt,cathay4t/libstoragemgmt,jumitche/libstoragemgmt,libstorage/libstoragemgmt