Android communication over SSL + clean-up