added httpio
improved httpio