Maid 466 add headers

The `remote_endpoint` parameter shadows the member variable. This is not an error in the current code, but it could confuse other developers later on.