since sometimes socket directory is obtained from environment variable.
Include xrdp_sockets.h directly, not through headers.