Javascript based reverse & forward proxy with high performance & capability