merged binary and http server