fix http response content encoding
improve frontend and readme
client: read source from stdin