p2ptrade: HTTP comm and command-line operations
p2ptrade: made agent self-sufficient