As per @ PaulKinlan's pull request request for a Patch

See PaulKinlan's request for pull request here:  https://github.com/GoogleChrome/chrome-app-samples/issues/70

This patch supports:

- keep-alive flag making the web server respoinsive
- user specifiable port number