Clean up regular expressions for headers and auth and fix | being allowed for headers, allow any characters for auth password
Merge pull request #49 from beatrichartz/cleanup_regexp

Flag parsing for headers allows `|`, Flag parsing for auth password is too strict