Added external parameter for proxy protocol