pub proxy server sample