UNDERTOW-197 Make sure the buffer is populated before the listener is called