bin/http-server: add handling