Add support for detecting ipc client's buffer size

These patches along with this libqb patch, https://github.com/ClusterLabs/libqb/pull/93, allow pacemaker's ipc wrapper to accurately know when client msg compression should take place based on the client's actual max buffer size (not the environment variable pacemaker uses to define ipc buffer size)