adapter.http: allow black/whitelisting mimetypes of POSTed data
adapter.http: small cleanups