A simple proxy server implementation with additional features
PythonMIT
Simple proxy server
It has been done for a job interview. The server parses an url and appends trademark at the end of words of six letters long.
You may adjust it for any of your personal purposes.