Patch to fix issue #369.  Handles comma separated values for HTTP_X_FORWARDED_FOR header

Patch to fix issue #369.  Handles comma separated values for HTTP_X_FORWARDED_FOR header.  Unit test in first commit.  Fix in second commit.