remove the unix socket arguments while testing; read 4 bytes header from the server
include sys/syslimits.h only for macos