Fixes #24 #27 #34
Detected serious bug in epc_dba, put_im makes system crash.
Merge pull request #35 from stbnps/master

Rearranged the way we use httpc