Implemented the PROXY protocol

Added XML templates