code: func removePaddingSSL30(payload []byte) ([]byte, byte) {
  	if len(payload) < 1 {
  		return payload, 0
  	}
  
  	paddingLen := int(payload[len(payload)-1]) + 1
  	if paddingLen > len(payload) {
  		return payload, 0
  	}
  
  	return payload[:len(payload)-paddingLen], 255
  }
docs: // removePaddingSSL30 is a replacement for removePadding in the case that the
  // protocol version is SSLv3. In this version, the contents of the padding
  // are random and cannot be checked.