Added support for changing the process owner and several fixes.

  - Changed the default port from "http" to "80", to prevent dependency on /etc/services.
  - Changed the protocol check so HTTP 1.0 is supported as well.
  - Added a text/plain MIME-type.
  - Moved the protocol check so it's performed after more important ones.
  - Added seteuid().