Added support for maxMessageSizeBytes if available (DRIVERS-1)