FIX: return ERROR if the connection could not be secured (invalid proxy)