using a modified nanohttp from csoap-1.1.0