How would I go about making my own proxy server?

I’m currently using one in my game but it is is very slow and I would like to make my own proxy server but I’m not sure which one to choose from. :confused: