MAX_BUFFER_SIZE, which is used for limiting the amount of the data read from a socket renamed to MXS_MAX_NW_READ_BUFFER_SIZE and moved from gw.h to limits.h. Consider removing altogether. Difficult to justify since non-blocking reads are used and the amount of available data is known.