Minor fixes in httpclient.

  - If no page was specified, send /index.html.
  - The sent file must be a regular file.