*: add license headers
http: some speed improvements