remove dead code and keep curl session initialized until coind disconnect
Todo: SSL RPC connections... user/pw vars may be required... Also, update the make files and handle better the getwork client requests.. Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>