Added parsing of client capabilities