xhttp fixed

Fixed the xhttpget method (more extensible and callback functions work
better).