Turkish parliament accepts first part of security bill