proxy protocol regexp changes

* better ipv6 approach
* added test file for regexp tests only