htran alternative wrote in nodejs (bind to connect)