updated http server and added new smtp example