I just do things like inherit Protocols.HTTP.Session;
... async_get_url("http://172.16.2.102/full_status.json",0, lambda(){}, con_data, con_fail); ... async_get_url("http://172.16.2.102/command.json", (["command":s]), lambda(){},lambda(){},lambda(){}); which doesn't feel very cumbersome. :)