ApplicationProxy fix: arbitrary payload
Fix proxy constructors

If provided client is null, global client must be initialized