server: Limit rx buffer size to UINT16_MAXWe can't receive bigger buffers anyway as limited by protocol and msgbitself, so trim it.Change-Id: I96bfe1625510cca67f5781e2895caf2a3612ec62