DRYed up and cleaned up spec
make alps middleware case-insensitive
refactored to be ip_address friendly for tcp
refactored for smaller methods and DRYness
sync port too so uris sync all but path for comparison for tcp
Merge pull request #134 from mdsol/feature/fix_middleware_case_sensitivity

Feature/fix middleware case sensitivity