Fix bug in FlashPolicyHandler over SSL connection