changed as3corelib to fix type 22 error and allow self-signed certs, also ignores blank lines returned in socket