added http server test and http POST handling