add more html5 containers. add php support.
for IP, strip trailing whitespace
Merge pull request #13 from redmunds/issue-12

Fixes for Issue 12