Adds masquerading support in the client.