Got colordepth > 8 bits to work again (apparently, another byte must be set in the client info depending on the depth wanted). I think we need to be a bit careful and check what depth the server is really giving us, or we will have strange results sometimes.