Added isset check for REMOTE_ADDR

getIpAddressFromProxy failed while unit-testing, because there is no REMOTE_ADDR set. Now there is a check to see if it is set before trying to check if it is in the trustedProxies array.
Added a unit-test for my fix
Adding test for escaping of emails that have lines starting with a period character.
Newline translation so escaping code will work properly.
Removed trailing spaces
Fixed unit test

Added a check to see if REMOTE_ADDR has been set.
Test for x-autocomplete
add "x-" attributes to valid
Merge pull request #5422 from wccoder/master

Fix emails that contain lines that start with periods
Merge branch 'hotfix/5422'

Close #5422
[#5423] Fix preg_match to work with older PCRE versions

- Use `?P<...>`, not `?<...>`
Merge pull request #5418 from AxaliaN/patch-1

Added isset check for REMOTE_ADDR
Merge branch 'hotfix/5418'

Close #5418
Merge pull request #5424 from ThaDafinser/patch-2

Issue 3104: Form\Element "x-..." attributes
Merge branch 'hotfix/5424'

Close #5424
Fixes #3104
fix typo
Merge pull request #5438
Merge pull request #5438 in master
Merge pull request #5423
Merge pull request #5423 in master