add missing types and structs for authenticated connections

Hi,

I've added some types and structs required to work with authenticated connections.

Let's see if I can get it working with esx :)