Modify prototype of connect function, make it more general.
Add post function
add testPost
Merge branch 'trytryseepost'