Dynamic TCP proxy implemented in nodejs