The handshake function should take the preferred PixelFormat

Rather than hardcode that all servers prefer true colour, we allow
servers to prefer something more limited (such as 8-bit colour, for
simple consoles)

Signed-off-by: David Scott <dave.scott@eu.citrix.com>