Adding asserts for socketRequest